laravel eloquent order by alphabetical order

44

laravel eloquent order by alphabetical order -

  $items = Item::orderBy('name')->get(); 

Comments

Submit
0 Comments